package com.pozu.new_retail.service;

import java.util.HashMap;
import java.util.List;

import com.pozu.new_retail.dao.model.Message;
import com.pozu.new_retail.dao.vo.CommentMessageVo;
import com.pozu.new_retail.dao.vo.MessageVo;
import com.pozu.new_retail.dao.vo.OrderMessageVo;
import com.pozu.new_retail.dao.vo.UgcMessageVo;
import com.pozu.new_retail.dao.vo.UpvoteMessageVo;

public interface MessageService {

	public int queryCountByMap(HashMap<String, Object> hashMap);
	
	public int saveMessage(Message message);
	
	public int updateMessage(HashMap<String, Object> hashMap);
	
	public List<UpvoteMessageVo> queryUpvoteMessageByMap(HashMap<String, Object> hashMap);
	
	public List<CommentMessageVo> queryCommentMessageByMap(HashMap<String, Object> hashMap);
	
	public List<UgcMessageVo> queryUgcMessageByMap(HashMap<String, Object> hashMap);
	
	public List<OrderMessageVo> queryOrderMessageByMap(HashMap<String, Object> hashMap);
	
	public MessageVo queryMessageInfo(long userId,int appId);
	
}
